package org.dromara.oce.domain.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.oce.domain.base.OceBaseReq;

/**
 * @desc: https://open.oceanengine.com/labels/8/docs/1780613896121344?origin=left_nav
 * @author: hhl
 * @date：2025/6/4 10:11
 */
@Data
public class CreateToolsMicroAppReq extends OceBaseReq {

    /**
     * 字节小程序app id
     */
    @NotEmpty
    private String appId = null;

    /**
     * 小程序备注
     */
    @NotBlank
    private String remark = null;

    /**
     * 小程序链接，审核通过前只能创建一条，存在两种录入方式：
     * 通过参数 app_page.link 录入完整的链接信息。
     * 通过参数 app_page.start_page 与 app_page.start_param 利用平台能力生成调起链接，进而录入链接信息。（此时app_page.link 可传空）
     */
    @NotNull
    private ToolsMicroAppCreateV30RequestAppPage2 appPage = null;

//    /**
//     * 付费形式：BOTH_OPTIONS_AVAILABLE-以上两者兼有；CONTENT_OR_SERVICES-付费购买内容或服务；UNLOCK_FULL_FEATURES-付费解锁完整功能；
//     */
//    private ToolsMicroAppCreateV30PaymentForm paymentForm = null;

    /**
     * 细分类型或道具类目
     * 填写类型的末集分类ID
     * https://open.oceanengine.com/labels/7/docs/1812331394774028?origin=left_nav
     */
    @NotNull
    private String tagInfo = null;


//    private ToolsMicroAppCreateV30RevenueModel revenueModel = null;

//    private Long discountRate = null;
//
//    private Boolean hasDiscount = null;
//
//    private Boolean hasOnlineEarning = null;
//
//    private ToolsMicroAppCreateV30MaxPaymentTierRange maxPaymentTierRange = null;
//
//    private ToolsMicroAppCreateV30MaxRechargeTier maxRechargeTier = null;
//
//    private ToolsMicroAppCreateV30MembershipType membershipType = null;
//
//    private ToolsMicroAppCreateV30MidPaymentTierRange midPaymentTierRange = null;
//
//    private ToolsMicroAppCreateV30MinPaymentTierRange minPaymentTierRange = null;
//
//    private ToolsMicroAppCreateV30MinRechargeTier minRechargeTier = null;
//
//    private String propName = null;
//
//    private ToolsMicroAppCreateV30RecommendedRechargeTier recommendedRechargeTier = null;



}
